<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h2>continue关键字</h2>
    <ul>
        <li>break关键字：跳出（结束）循环。</li>
        <li>continue关键字：跳过当次循环，进入下一次循环。</li>
    </ul>
    <script>
        let a = 0;
        while (true) {
            a ++;
            if (a >= 100) {
                break;
            }
            if (a % 2 == 0) {
                continue;
            }
            console.log(a);
        }

        
    </script>
</body>
</html>